package com.wpp.aspect;

import org.springframework.aop.MethodBeforeAdvice;

import java.lang.reflect.Method;

public class aspectLog implements MethodBeforeAdvice {


    //    method为具体的原始方法    object[]为原始方法的参数列表  o为原始方法所在的类
    public void before(Method method, Object[] objects, Object o) throws Throwable {
        System.out.println("开启日志了-------");
       // objects[0] = "python";
    }
}
